package com.ruoyi.ldzlsc.mapper;

import com.ruoyi.ldzlsc.domain.ScMaterialReturn;

/**
 * 材料退库Mapper接口
 *
 * @author ldzl
 */
public interface ScMaterialReturnMapper {

    /**
     * 新增材料退库
     *
     * @param scMaterialReturn 材料退库
     * @return 结果
     */
    public int insertScMaterialReturn(ScMaterialReturn scMaterialReturn);

    /**
     * 查询材料退库
     *
     * @param materialReturnId 材料退库主键
     * @return 材料退库
     */
    public ScMaterialReturn selectScMaterialReturnByMaterialReturnId(Long materialReturnId);

    /**
     * 修改材料退库
     *
     * @param scMaterialReturn 材料退库
     * @return 结果
     */
    public int updateScMaterialReturn(ScMaterialReturn scMaterialReturn);

    /**
     * 删除材料退库
     *
     * @param materialReturnId 材料退库主键
     * @return 结果
     */
    public int deleteScMaterialReturnByMaterialReturnId(Long materialReturnId);
}
